package com.css.gdzj.gdzjbxgd.modules.reportinfo.repository.entity;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @author z
 * @date 2020-12-11
 * 廉洁自律-礼品礼金处置
 */
@Data
@Entity
@Table(name="honest_gift_child")
public class HonestGiftChildEntity implements Serializable {
    private static final long serialVersionUID = 1;

    /**
     * 主表id
     */
    @Column(name="REPORT_ID")
    private String reportId;
    /**
     * 数量或金额
     */
    @Column(name="HONEST_GIFT_AMOUNT")
    private String honestGiftAmount;
    /**
     * 处置情况
     */
    @Column(name="HONEST_GIFT_HANDLE")
    private String honestGiftHandle;
    /**
     * 礼品礼金名称
     */
    @Column(name="HONEST_GIFT_NAME")
    private String honestGiftName;
    /**
     * 主键id
     */
    @Column(name="UUID")
    @Id @GeneratedValue(generator="system-uuid")
    @GenericGenerator(name="system-uuid", strategy = "uuid")
    private String uuid;
}

